import '../../enums/enums.dart';

class AppleAudioConfiguration {
  AppleAudioConfiguration({
    this.appleAudioCategory,
    this.appleAudioCategoryOptions,
    this.appleAudioMode,
  });
  final AppleAudioCategory? appleAudioCategory;
  final Set<AppleAudioCategoryOption>? appleAudioCategoryOptions;
  final AppleAudioMode? appleAudioMode;

  Map<String, dynamic> get toMap => <String, dynamic>{
    "appleAudioCategory": appleAudioCategory?.name,
    "appleAudioCategoryOptions": appleAudioCategoryOptions?.map((e) => e.name).toList(),
    "appleAudioMode": appleAudioMode?.name,
  };

}